#define _CRT_SECURE_NO_WARNINGS 1
#define maxn 100
#include<stdio.h>
#include<string.h>
int left = 0, chance = 0;
char s[maxn] = { 0 };
char s2[maxn] = { 0 };
int win = 0, lose = 0;
void guess(char ch)
{
	int bad = 1;
	for (int i = 0; i < strlen(s); i++)
	{
		if (ch == s[i])
		{
			left--;
			s[i] = ' ';
			bad = 0;
		}
		if (bad)
		{
			chance--;
		}
		if (chance == 0)
		{
			lose = 1;
		}
		if (left == 0)
		{
			win = 1;
		}
	}
}
int main()
{
	int rnd=0;
	while (scanf("%d%s%s", &rnd, s, s2) == 3 && rnd != -1)
	{
		printf("Round %d\n", rnd);
		win = lose = 0;
		left = strlen(s);
		for (int i = 0; i < strlen(s2); i++)
		{
			guess(s2[i]);
			if (win || lose)
				break;
		}
		if (win==1)
		{
			printf("You win.\n");
		}
		else if (lose==1)
		{
			printf("You lose.\n");
		}
		else
			printf("You chickened out.\n");
	}
	return 0;
}